home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mc51bugs
/
q34207
< prev
next >
Wrap
Text File
|
1988-08-15
|
1KB
|
51 lines
Q34207 Internal Compiler Error Grammar.c 1.29 line 108
C Compiler
5.10 | 5.10
MS-DOS | OS/2
Summary:
When the code below is compiled with /Oi, the following error is
generated:
fatal error C1001: Internal Compiler Error
(compiler file '@(#)grammar.c:1.29', line 108)
Contact Microsoft Technical Support
To work around this problem, do one of the following:
1. Disable the generation of intrinsic function calls for "inp" by
adding a #pragma at the top of your program. Add the following
to disable the /Oi switch for any calls made to the "inp"
function:
#pragma function ( inp )
2. Simplify the expression by using a temporary variable. Replace
int zoo;
( zoo ? inp( inp( 99 )) : -1 );
to the following lines:
int zoo, temp;
temp = inp( inp( 99 ));
( zoo ? temp : -1 );
Microsoft has confirmed this to be a problem in Version 5.10 of the
C compiler. We are researching this problem and will post new
information as it becomes available.
More Information:
The following code generates the error:
#include <conio.h>
void main(void);
void main()
{
int zoo;
( zoo ? inp( inp( 99 )) : -1 );
}
Keywords: buglist5.10
Updated 88/08/16 02:57